package com.ml.mall.service.state;

import com.ml.mall.entity.state.SysOrderState;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* <p>
    *  服务类
    * </p>
*
* @author kyyang
* Created 2021-05-24
*/
public interface SysOrderStateService extends IService<SysOrderState> {

    //创建订单状态
    void createOrderState(String soid,Integer state,Long oid);

    /**
     * 创建订单状态
     * @param oid
     * @param state
     */
    void createOrderState(String oid, Integer state);

    /**
     * 根据订单id创建卖家订单的状态记录
     * @param oid
     * @param state
     */
    void createSupplierOrderStateByOid(Long oid, String state);
}
